angular.module('imgApp').directive('repeatFinish', function() {
	return {
		link: function(scope, element, attrs) {
			if(scope.$last == true) {
				console.log('ng-repeat执行完毕');
				scope.$eval(attrs.repeatFinish);
				
			}
		}
	}
})